﻿using System;
using System.Collections.Generic;
using System.Text;
using TextEditor.TextDocument.Element;

namespace TextEditor.TextDocument.Action
{
    public class A_InsertRadiobutton : A_InsertCheckBox
    {
        public override string ActionName()
        {
            return "insertradiobutton";
        }

        public override bool UIExecute()
        {
            ZYTextRadio zc = new ZYTextRadio();
            //base.myOwnerDocument._InsertCheckBox("");
            zc.OwnerDocument = base.myOwnerDocument;
            base.myOwnerDocument._InsertElement(zc);
            return true;
        }
    }
}
